import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    appName: '雷格SS',
    appUrl: 'https://github.com/laoxiu001',
    isCollapse: false,
    //主题颜色
    themeColor: '#14889a',
    //提示框标题
    confirmTip: '确认',
    inputTip: '请输入',
    warningTip: '警告'
  },
  mutations: {
    changeCollapse(state) {
      state.isCollapse = !state.isCollapse;
    }
  },
  actions: {

  }
})
